<div class="view">

	<?php echo CHtml::encode($data->title); 
		if ($data->status == 2)
		{
			echo " -  accepted";
		}
	
	?>
	</div>